package cn.zdxiang.base.base

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import cn.zdxiang.base.http.ApiException

/**
 * BaseViewModel
 * @date 2020/07/20
 * @author Jm
 */

open class BaseViewModel : ViewModel() {

    /**
     * 错误信息liveData
     */
    val errorLiveData = MutableLiveData<ApiException>()

    /**
     * 无数据
     */
    val emptyLiveDate = MutableLiveData<Any>()
}